package com.lebang.mapper;

import com.lebang.entity.LbbDict;
import com.lebang.example.LbbDictExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LbbDictMapper {
    long countByExample(LbbDictExample example);

    int deleteByExample(LbbDictExample example);

    int deleteByPrimaryKey(Long id);

    int insert(LbbDict record);

    int insertSelective(LbbDict record);

    List<LbbDict> selectByExample(LbbDictExample example);

    LbbDict selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") LbbDict record, @Param("example") LbbDictExample example);

    int updateByExample(@Param("record") LbbDict record, @Param("example") LbbDictExample example);

    int updateByPrimaryKeySelective(LbbDict record);

    int updateByPrimaryKey(LbbDict record);

    LbbDict selectByKeyName(String keyname);
}